package com.jumper.study.admin.dto.req;

import jakarta.validation.constraints.NotBlank;

public class BannerReq {
    @NotBlank(message = "未填写标题")
    private String title;

    @NotBlank(message = "未选择BANNER图片")
    private String cover;

    @NotBlank(message = "未填写链接地址")
    private String link;

    private Boolean onself;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }

    public Boolean getOnself() {
        return onself;
    }

    public void setOnself(Boolean onself) {
        this.onself = onself;
    }
}
